package de.fuberlin.inf.alp4.uebg5;

import java.util.List;
import java.util.concurrent.Future;

import de.fuberlin.inf.alp3.ue06.LinkedList;

public class Client {

	public static void main(String[] args) {
		Proxy proxy = new Proxy();
		List<Future<Integer>> requests = new LinkedList<Future<Integer>>();
		
		//Test Case 1: Adding MessageRequests
		//if Queue will eventually be emptied, the test ended successful
		//if not, there must be a queue implementation bug
		
		//Add several M1
		for(int i = 0; i < 3; i++)
			requests.add(proxy.m1());				

		//Add several M2
		for(int i = 0; i < 6; i++) 
			requests.add(proxy.m2());			
		
		
	}

}
